package com.bonc.rms.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface UserInfoMapper {

	List<Map<String, Object>> getUserInfo();

	List<Map<String, Object>> updateUserInfo(@Param("userId") Integer userId, @Param("userName") String userName, 
			@Param("password") String password, @Param("address") String address, @Param("email") String email,
			@Param("mobilePhone") String mobilePhone, @Param("sex") String sex);

	Integer deleteUserInfo(@Param("userId") Integer userId);

	List<Map<String, Object>> getSingleUserInfo(@Param("userId") Integer userId);

}
